<?

require_once ("template.iface.inc");
require_once ("menu.accounting.ledger.inc");

global $_OBJECT_IFACE_MAIN;

global $_OBJECT_IFACE_OBJECT_DETAIL;

$_OBJECT_IFACE_OBJECT_DETAIL = _app_create_iface_panel ();

global $_OBJECT_IFACE_OBJECT_DETAILS;

$_OBJECT_IFACE_OBJECT_DETAILS = new Container ();

$_OBJECT_IFACE_OBJECT_DETAILS->set_callback_begin ("_app_iface_object_details");
$_OBJECT_IFACE_OBJECT_DETAILS->set_option ("callback_end", false);
#k$_OBJECT_IFACE_NAVIGATION->set_callback_end ("_app_iface_object_details");

global $_OBJECT_IFACE_NAVIGATION;

$_OBJECT_IFACE_NAVIGATION = new Container ();
$_OBJECT_IFACE_NAVIGATION->set_callback_begin ("_app_iface_navigation_begin");
$_OBJECT_IFACE_NAVIGATION->set_callback_end ("_app_iface_navigation_end");

$_OBJECT_IFACE_NAVIGATION->insert_container (_app_iface_navigation ());

global $_OBJECT_IFACE_DISPLAY;

$_OBJECT_IFACE_DISPLAY = new Container ();
$_OBJECT_IFACE_DISPLAY->set_callback_begin ("_app_iface_display_begin");
$_OBJECT_IFACE_DISPLAY->set_callback_end ("_app_iface_display_end");

$_OBJECT_IFACE_OBJECT_DETAIL->insert_container ($_OBJECT_IFACE_OBJECT_DETAILS);
$_OBJECT_IFACE_DISPLAY->insert_container ($_OBJECT_IFACE_OBJECT_DETAIL);

$_OBJECT_IFACE_MAIN->insert_container ($_OBJECT_IFACE_NAVIGATION);
$_OBJECT_IFACE_MAIN->insert_container ($_OBJECT_IFACE_DISPLAY);
